﻿/*
 * Created by SharpDevelop.
 * User: xieen
 * Date: 2013-08-26
 * Time: 16:03
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */
using System;

namespace GoF23Learning._21.Strategy_Pattern.Refactor
{
	/// <summary>
	/// Description of Cart.
	/// </summary>
	public class Cart
	{
		IProcessStrategy processStrategy;
		public Cart(IProcessStrategy strategy)
		{
			this.processStrategy = strategy;
		}
		public void DoSomeMethod()
		{
			this.processStrategy.Process();
		}
	}
}
